﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="PortalSetting.ascx.cs"
    Inherits="Portal.Administrator.Portals.PortalSetting" %>
<%@ Register Assembly="NCS.WebControl" Namespace="NCS.WebControls"
    TagPrefix="cc3" %>
<%@ Register Assembly="NCS.Module.MultiLanguage" Namespace="NCS.Module.MultiLanguage.WebControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="NCS.FilePickerControl" Namespace="NCS.FilePicker"
    TagPrefix="cc2" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:UpdatePanel ID="upanelRoleManagement" runat="server" UpdateMode="Conditional"
    RenderMode="Inline">
<%--    <Triggers>
        <system.web.ui.asyncpostbacktrigger ControlID="btnUpdate" EventName="Click" />
    </Triggers>--%>
    <ContentTemplate>
        <asp:Panel ID="pnlAdmin" runat="server">
            <table border="0" cellpadding="2" cellspacing="2" style="width: 100%">
                <tr>
                    <td style="width:200">
                        <asp:Label ID="lblPortal" runat="server" Text="Cổng:" meta:resourcekey="lblPortalResource1"></asp:Label></td>
                    <td>
                        <asp:DropDownList ID="dropPortal" runat="server" Width="242px" DataValueField="PortalID"
                            DataTextField="Portal_Name" AutoPostBack="True" meta:resourcekey="dropPortalResource1">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblHomePage" runat="server" Text="Trang chủ" meta:resourcekey="lblHomePageResource1"></asp:Label></td>
                    <td>
                        <asp:DropDownList ID="dropTabs" runat="server" Width="242px" DataValueField="TabID"
                            DataTextField="TabName" meta:resourcekey="dropTabsResource1">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang tìm kiếm:</td>
                    <td>
                        <asp:DropDownList ID="dropSearchTab" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang chuyên mục:</td>
                    <td>
                        <asp:DropDownList ID="dropZoneTab" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang tin:</td>
                    <td>
                        <asp:DropDownList ID="dropContentTab" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        Chọn Portal active</td>
                    <td>
                        <asp:DropDownList ID="dropPortalActive" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td>
                        Chọn Chuyên mục Active</td>
                    <td>
                        <asp:DropDownList ID="dropZoneActive" runat="server" Width="242px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        Style cho Portal:</td>
                    <td>
                        <asp:DropDownList ID="dropStyle" runat="server" Width="242px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang liệt kê sự kiện:</td>
                    <td>
                        <asp:DropDownList ID="dropEvent" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang tin trong sự kiện:</td>
                    <td>
                        <asp:DropDownList ID="dropNewsInEvent" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang liệt kê album:</td>
                    <td>
                        <asp:DropDownList ID="dropAlbum" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang chi tiết album:</td>
                    <td>
                        <asp:DropDownList ID="dropAlbumDetail" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <!--
                <tr>
                    <td valign="top">
                        Trang Bonus:</td>
                    <td>
                        <asp:DropDownList ID="dropBonus" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td valign="top">
                        Trang Bonus chi tiết:</td>
                    <td>
                        <asp:DropDownList ID="dropBonusDetail" runat="server" Width="242px">
                        </asp:DropDownList></td>
                </tr>
                -->   
                <tr>
                    <td valign="top">
                        Cơ chế nhận góp ý:</td>
                    <td>
                        <asp:DropDownList ID="dropCommentPolicy" runat="server" Width="242px">
                            <asp:ListItem Text="Hiện ngay ko cần duyệt" Value="0"></asp:ListItem>
                            <asp:ListItem Text="Duyệt trước khi xuất hiện" Value="1"></asp:ListItem>
                        </asp:DropDownList></td>
                </tr>             
            </table>
        </asp:Panel>
        <asp:Panel ID="pnlUser" runat="server">
            <table border="0" cellpadding="2" cellspacing="2" style="width: 100%">
                <tr>
                    <td style="width:200">
                        <asp:Label ID="lblContactName" runat="server" Text="Contact Mail" meta:resourcekey="lblContactNameResource1"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtContactMail" runat="server" Width="242px" meta:resourcekey="txtContactMailResource1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblPortalName" runat="server" Text="Site name" meta:resourcekey="lblPortalNameResource1"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtSiteName" runat="server" Width="242px" meta:resourcekey="txtSiteNameResource1"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblMailServer" runat="server" Text="Mail Server" meta:resourcekey="lblMailServerResource1"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtMailServer" runat="server" Width="200px" meta:resourcekey="txtMailServerResource1"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblMailUser" runat="server" Text="Mail User" meta:resourcekey="lblMailUserResource1"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtMailUser" runat="server" Width="200px" meta:resourcekey="txtMailUserResource1"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblMailPassword" runat="server" Text="Mail Password" meta:resourcekey="lblMailPasswordResource1"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtMailPwd" runat="server" Width="200px" meta:resourcekey="txtMailPwdResource1" TextMode="Password"></asp:TextBox></td>
                </tr>
                <tr>
                    <td valign="top">
                        Mail Server Port:
                    </td>
                    <td>
                        <asp:TextBox ID="txtMailServerPort" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                    </td>
                    <td>
                        <asp:CheckBox ID="chkEnableSecure" runat="server" Text="Mail Server cần kết nối SSL" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblCopyRight" runat="server" Text="Thông tin bản quyền:" meta:resourcekey="lblCopyRightResource1"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtCopyRight" runat="server" Height="116px" TextMode="MultiLine"
                            Width="350" meta:resourcekey="txtCopyRightResource1"></asp:TextBox></td>
                </tr>                                
                <tr>
                    <td>
                    </td>
                    <td>
                        <cc3:ButtonRoleEdit ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="Cập nhật" />
                        <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label></td>
                </tr>
            </table>
        </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>
